package org.yate.oa.service;

import java.util.List;

import org.yate.oa.model.RestDayEntity;
import org.yate.oa.utils.Pagination;

public interface IRestDayService extends IBaseService<RestDayEntity, Integer> {

	public List<RestDayEntity> getEntities();

	public List<RestDayEntity> getEntitiesByUserIds(List<Integer> ids);

	public List<RestDayEntity> getCurrentQuaRestdays(final String... strings);

	public RestDayEntity getEntity(Integer userId);

	public boolean checkUserExist(Integer userId);

	Pagination<RestDayEntity> getEntitieSearch(final int page, final int rows, final String orderField, final String orderMode, final String... strings);
}
